package com.jacklin.repository;

import com.jacklin.entity.OrderDetail;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * 订单详情
 * @Author:JackLin
 * @Create 2019/3/27 12:29
 */

public interface OrderDetailRepository extends JpaRepository<OrderDetail,String> {

    /**根据订单id来查询订单详情信息*/
    List<OrderDetail> findByOrderId(String orderId);
}
